package com.wz.project.sap.DN_POST_DN.service;

import java.util.List;
import java.util.Map;

import com.wz.project.sap.DN_POST_DN.domain.ZflWmsDnPostDn;

/**
 * 内外向交货单过账Service接口
 * 
 * @author wz
 * @date 2022-09-19
 */
public interface IZflWmsDnPostDnService 
{
    /**
     * 查询内外向交货单过账
     * 
     * @param ZEILE 内外向交货单过账ID
     * @return 内外向交货单过账
     */
    public ZflWmsDnPostDn selectZflWmsDnPostDnById(String ZEILE);

    public List<ZflWmsDnPostDn> selectZflWmsDnPostDnByOrder(String VBELN);

    /**
     * 查询内外向交货单过账列表
     * 
     * @param zflWmsDnPostDn 内外向交货单过账
     * @return 内外向交货单过账集合
     */
    public List<ZflWmsDnPostDn> selectZflWmsDnPostDnList(ZflWmsDnPostDn zflWmsDnPostDn);
    public ZflWmsDnPostDn selectZflWmsDnPostDn(ZflWmsDnPostDn zflWmsDnPostDn);

    /**
     * 新增内外向交货单过账
     * 
     * @param zflWmsDnPostDn 内外向交货单过账
     * @return 结果
     */
    public int insertZflWmsDnPostDn(ZflWmsDnPostDn zflWmsDnPostDn);

    /**
     * 修改内外向交货单过账
     * 
     * @param zflWmsDnPostDn 内外向交货单过账
     * @return 结果
     */
    public int updateZflWmsDnPostDn(ZflWmsDnPostDn zflWmsDnPostDn);
    public int updateZflWmsDnPostDnStatus(ZflWmsDnPostDn zflWmsDnPostDn);
    public int updateZflWmsDnPostDnZJ(ZflWmsDnPostDn zflWmsDnPostDn);
    public int editStatus(ZflWmsDnPostDn zflWmsDnPostDn);
    /**
     * 批量删除内外向交货单过账
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZflWmsDnPostDnByIds(String ids);

    /**
     * 删除内外向交货单过账信息
     * 
     * @param ZEILE 内外向交货单过账ID
     * @return 结果
     */
    public int deleteZflWmsDnPostDnById(String ZEILE);

    public List<ZflWmsDnPostDn>  selectZflWmsDnPostDisticnct(String VBELN);

    List<ZflWmsDnPostDn> selectZflWmsDnPostDnList1(ZflWmsDnPostDn zflWmsDnPostDn);

    ZflWmsDnPostDn selectZflWmsDnPostDisticnctByprueflos(String prueflos);

    void updateZflWmsDnPostDnZjOk(String prueflos);

    void updateZflWmsDnPostDnZjNo(String prueflos);

    ZflWmsDnPostDn selectZflWmsDnPostDnByPAI(String matnrMain, String inStockId);

    List<ZflWmsDnPostDn> selectDistinctVBELN(ZflWmsDnPostDn zflWmsDnPostDn);

    int selectZflWmsDnPostDnCount(ZflWmsDnPostDn zflWmsDnPostDn);

}
